package com.wanmait.heating.mapper;

import com.wanmait.heating.pojo.Address;
import org.apache.ibatis.annotations.Param;

public interface AddressMapper {

//    //修改默认地址
//    void updataDefaultesAddress(Integer addressId);

    //增加默认地址
    void insertAddress(@Param("address")Address address);

    //根据用户id查具体位置
    Address selectAddressByUserinfoId(Integer userinfoId);

    int deleteByPrimaryKey(Integer id);

    int insert(Address record);

    void insertSelective(@Param("address") Address address);

    Address selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);


}